<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>选择器的优先级</title>
		<style>
			#d1{
				color:blue;
			}
			div{
				color: red;
			}
			
			.c1{
				color: green;
			}
		</style>
	</head>
	<body>
		<div id="d1" class="c1">
			就怕你学的不好，鬼都不要
		</div>
	</body>
</html>